// pages/appLetWork/work8/index.js
Page({
  data: {
    grid: [
      {
        title: "学院简介",
        img: "./images/1.png",
        btn:"one"
      },
      {
        title: "学院视频",
        img: "./images/2.png",
        btn:"two"
      },
      {
        title: "地图导航",
        img: "./images/3.png",
        btn:"three"
      },
      {
        title: "联系方式",
        img: "./images/4.png",
        btn:"four"
      },
      {
        title: "现任领导",
        img: "./images/5.png",
        btn:"five"
      },
      {
        title: "校园风光",
        img: "./images/6.png",
        btn:"six"
      }
    ],
  },
  onClickLeft() {
    wx.navigateBack({
      delta: 1,
    })
  },
  one(){
   wx.navigateTo({
     url: '/pages/appLetWork/work8/aboutSchool/aboutSchool',
   })
  },
  two(){
    wx.navigateTo({
      url: '/pages/appLetWork/work8/schoolVideo/schoolVideo',
    })
   },
   three(){
    wx.navigateTo({
      url: '/pages/appLetWork/work8/schoolMap/schoolMap',
    })
   },
   four(){
    wx.makePhoneCall({
      phoneNumber: '17329990799' //仅为示例，并非真实的电话号码
    })
   },
   five(){
    wx.navigateTo({
      url: '/pages/appLetWork/work8/leader/leader',
    })
   },
   six(){
    wx.navigateTo({
      url: '/pages/appLetWork/work8/scenery/scenery',
    })
   },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})